package com.medical.server.charge.service.impl;

import com.laozj.common.utils.PageUtils;
import com.laozj.common.utils.Query;
import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

import com.medical.server.charge.dao.InhospitalChargeDao;
import com.medical.server.charge.entity.InhospitalChargeEntity;
import com.medical.server.charge.service.InhospitalChargeService;


@Service("inhospitalChargeService")
public class InhospitalChargeServiceImpl extends ServiceImpl<InhospitalChargeDao, InhospitalChargeEntity> implements InhospitalChargeService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<InhospitalChargeEntity> page = this.page(
                new Query<InhospitalChargeEntity>().getPage(params),
                new QueryWrapper<InhospitalChargeEntity>()
        );

        return new PageUtils(page);
    }

}